﻿using NUnit.Framework;
using Zove.Runtime;

namespace Zove.Test {

    [TestFixture]
    public class DefaultRuntimeModelLoaderTest {

        private DefaultRuntimeModelLoader loader = null;

        [SetUp]
        public void Setup() {
            DefaultClassFinder f = new DefaultClassFinder();
            DefaultClassLoader l = new DefaultClassLoader();
            l.Finder = f;
            loader = new DefaultRuntimeModelLoader();
            loader.ClassLoader = l;
        }

        [Test]
        public void TestLoadByClassName() {
        }

        [Test]
        public void TestLoadByClass() {
        }

        [Test]
        public void TestLoadBySource() {
        }

        [Test]
        public void TestLoadByUrl() {
        }

        [TearDown]
        public void TearDown() {
        }

        [Test]
        public void TestRecursive() {
            loader.LoadByClassName("Triangle");
            loader.LoadByClassName("RightTriangle");
        }
    }
}
